<template>
  <a-collapse v-bind="item.conf" defaultActiveKey="0">
    <a-collapse-panel :header="item.subItem.name" key="0">
      <a-col v-for="child in item.subItem.children" :key="child.key" :span="child.span">
        <form-parser :item="child" :data="data"></form-parser>
      </a-col>
    </a-collapse-panel>
  </a-collapse>
</template>

<script>
  export default {
    components: {},
    props: {
      item: {},
      data: {},
    },
  };
</script>

<style scoped></style>
